@import "var.less";
/*-------------------------
    工具栏toolbar组件的样式
---------------------------*/
.oc-toolbar{
	&>* {
		float: left;
		position: static;
	}
	hr{
		margin-top: 0.3rem;
		height: 0.8rem;
		border: none;
		border-left: 1px solid @hrColor;
	}
	button{
		width: @button-h-22;
		height:@button-h-22;
		margin-top: 0.2rem;
		&:hover{
			border:1px solid @bottonHoverBorderColor;
			background-color: @bottonBG;
		}
		&:first-child{
			margin-left: 0.3rem;
		}
	}
	label{
		display: block;
		height: @toolbarHeight;
		line-height: @toolbarHeight;
		margin-left: 0.2rem;
	}
	input{
		font-size: 0.6rem;
		height: @formH;
		border: 1px solid @formBorderColor;
		margin-top: 0.2rem;
		&:focus{
			border-color:@inputFocusBorderColor;
		}
	}
	box-sizing: border-box;
	width: 2840px;//为了不让左浮动的工具栏元素由于宽度不够而换行，因此设置了一个比较大的宽度值。
	height: @toolbarHeight;
	position: absolute;
	z-index: 1;
}
